Squid [FALHOU]

1. Squid [FALHOU]

RicardO.o
rickments

(usa Ubuntu)

Enviado em 11/02/2009 - 08:15h

Tenho um servidor com Fedora 9 (Sulphur)
tenho o firewall, e o squid
porem o squid me apresenta um erro: pelo que li no erro é erro de permisão
porem já dei as permisões necessarias

ele me mostra o seguinte erro:

Processing Configuration File: /etc/squid/squid.conf (depth0)
Initializing https proxy context
Iniciando squid ................... [Falhou]




  


2. Re: Squid [FALHOU]

Marcelo Gonçalves
marcelovegano

(usa Debian)

Enviado em 11/02/2009 - 08:44h

Poste sua configuração do squid aqui

squid.conf


3. Re: Squid [FALHOU]

RicardO.o
rickments

(usa Ubuntu)

Enviado em 11/02/2009 - 09:00h

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
hosts_file /etc/hosts
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl purge method PURGE
acl SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 22
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025 - 65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 4321
acl CONNECT method CONNECT
#cache_mem 1024 MB

acl Libera_domains url_regex "/etc/squid/rotha/Libera_domains"
acl NoBlock src "/etc/squid/rotha/NoBlock"
acl comsenha src "/etc/squid/rotha/comsenha"
acl Hotmail.sites url_regex "/etc/squid/rotha/Hotmail.sites"
acl Hotmail.micros src "/etc/squid/rotha/Hotmail.micros"
acl exd2 url_regex "/etc/squid/rotha/exd2"
acl exh2 src "/etc/squid/rotha/exh2"
acl exd1 url_regex "/etc/squid/rotha/exd1"
acl exh1 src "/etc/squid/rotha/exh1"
acl Bloqueio_domains url_regex "/etc/squid/rotha/Bloqueio_domains"
acl Libera_hosts src "/etc/squid/rotha/Libera_hosts"
acl ipfilial4 src "/etc/squid/rotha/ipfilial4"
acl filial4 url_regex "/etc/squid/rotha/filial4"

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/rotha/senhas
acl password proxy_auth REQUIRED
auth_param basic children 5
auth_param basic realm Digite login e senha!
auth_param basic credentialsttl 2 minutes
auth_param basic casesensitive on




http_access allow Hotmail.sites Hotmail.micros
http_access deny Bloqueio_domains
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow exd2 exh2
http_access allow exd1 exh1
#http_access deny Bloqueio_domains
http_access allow NoBlock
http_access allow Libera_domains
http_access allow comsenha password

#http_access deny Bloqueio_domains
#http_access allow Libera_hosts


#acl lan src 10.0.0.0/8
http_access allow localhost
#http_access allow lan
http_access deny all
http_reply_access allow all
icp_access allow all
visible_hostname farmautil.com.br
error_directory /usr/share/squid/errors/Portuguese
icon_directory /usr/share/squid/errors/Portuguese


http_port 43128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
coredump_dir /var/spool/squid


4. Re: Squid [FALHOU]

Marcelo Gonçalves
marcelovegano

(usa Debian)

Enviado em 11/02/2009 - 10:55h

coloque no inicio do squid o exemplo a baixo e faça o teste

http_port 3128
visible_hostname "nome do server"

e coloca para a porta 80



5. Re: Squid [FALHOU]

RicardO.o
rickments

(usa Ubuntu)

Enviado em 11/02/2009 - 13:38h

marcelovegano

leia com atenção e dps tente me ajudar ehehehe



6. Re: Squid [FALHOU]

Danillo Ferreira
danillofa

(usa Arch Linux)

Enviado em 11/02/2009 - 15:37h

sobe o squid em mode debug e tenta ver o que esta acontecendo:

squid -D 9


[]'s
danillo
http://chmod.site50.net







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts